import { Injectable, EventEmitter } from '@angular/core';

import { Menu, MenuLS, MenuItem } from '../app/utils/menu';
@Injectable()
export class BgService {

  menuLs: MenuLS[];
  emitMn: EventEmitter<Object> = new EventEmitter;

  constructor() {
  }

  /**
   * 获取菜单
   * @return { string[] }
   */
  getMenuData(): MenuLS[] {
    this.menuLs = Menu;
    return this.menuLs;
  }

}